﻿<%@ Page Title="Kiosk Settings" Language="C#" MasterPageFile="/Administration/Site.Master" AutoEventWireup="true" CodeBehind="KioskSettings.aspx.cs" Inherits="AdministrationWeb.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headerText" runat="server">
    Kiosk Settings
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div style="margin-left: 35px">
        <table>
            <tr>
                <td class="style1">
                    AUTO WARNING TIMEOUT:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtWarningTimeout" runat="server" /> (in seconds)
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="txtWarningTimeout" CssClass="style2" 
                        ErrorMessage="Enter Timeout Value" ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    AUTO LOGOUT TIME:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtLogoutTime" runat="server" /> (in seconds)
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                        ControlToValidate="txtLogoutTime" CssClass="style2" 
                        ErrorMessage="Enter Logout Time" ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        <p>
            EMAIL SETTINGS&nbsp;
        </p>
        <table style="margin-left: 30px">
            <tr>
                <td style="width: 200px">
                    EMAIL ADDRESS:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtEmailAddress" runat="server" Width="300" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="Enter Email Address" ControlToValidate="txtEmailAddress" 
                        CssClass="style2" ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                    PASSWORD:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtPassword" runat="server"  Width="300" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtPassword" CssClass="style2" ErrorMessage="Enter Password" 
                        ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                    SMTP Server:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtServerAddress" runat="server" Width="300" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtServerAddress" CssClass="style2" 
                        ErrorMessage="Enter Server Address" ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                    PORT:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtPort" runat="server"  Width="300" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="txtPort" CssClass="style2" ErrorMessage="Enter Port" 
                        ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                    USER NAME:
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="txtUserName" runat="server" Width="300" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                        ControlToValidate="txtUserName" CssClass="style2" ErrorMessage="Enter User Name" 
                        ValidationGroup="saveGroup"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        <p style="margin-left: 30px">
            REQUIRES SECURE PASSWORD AUTHENTICATION(SPA):<asp:RadioButton ID="spaYes" 
                runat="server" GroupName="SPA" Text="YES" />
            <asp:RadioButton ID="spaNo" runat="server" GroupName="SPA" Text="NO" />
        </p>
        <p style="margin-left: 150px">
            <asp:Button ID="Button1" runat="server" Text="Save" 
                ValidationGroup="saveGroup" onclick="Button1_Click" CssClass="button" />
            &nbsp;
            <asp:Button ID="Button2" runat="server" Text="Cancel" onclick="Button2_Click" CssClass="button" />
        </p>
        <p style="margin-left: 150px">
            <asp:Label ID="lblMessage" runat="server"></asp:Label>
        </p>
    </div>
</asp:Content>
